﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Activity.Model
{
    public class TaskSetModel
    {
        public class CoreModel
        {
            public int TaskID { get; set; }
            public string TaskName { get; set; }
        }

        public class NeceModel : CoreModel
        {
            public int TaskType { get; set; }
            public int ExecWeek { get; set; }
            public int ImgCount { get; set; }
            public bool IsEnabled { get; set; }
            public bool IsMustFinish { get; set; }
            public string TaskDescribe { get; set; }
            public IList<VShopModel.CoreModel> shopList { get; set; }
        }
    }

    public class VShopModel
    {
        public class ShopModel
        {
            public string ShopCode { get; set; }
            public string ShopName { get; set; }
            public DateTime? tif_checkDate { get; set; }
        }
        public class CoreModel : ShopModel
        {
            public string CompanyID { get; set; }
            public string ShopID { get; set; }
            public string AreaName { get; set; }
            public string BigAreaName { get; set; }
        }

    }

    public class AreaModel
    {
        public class CoreModel
        {
            public string AreaID { get; set; }
            public string AreaName { get; set; }
        }

        public class ListModel : CoreModel
        {
            public IList<CoreModel> child { get; set; }
        }
    }
}
